import { IsEmail, IsNotEmpty } from 'class-validator';

export class AdminLoginDto {
  @IsNotEmpty({ message: '账号不能为空' })
  username: string;


  @IsNotEmpty({ message: '密码不能为空' })
  readonly password: string;
}